import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import plguins from '@/plguins'
import './utils/requset'
import './permission'
import './assets/font/iconfont.css'
import * as filters from '@/filters'
Vue.config.productionTip = false
// 注册自定义过滤器
Object.keys(filters).forEach(key => {
  // key是过滤器的名字，filters[key]是key对应函数
  Vue.filter(key, filters[key])
})
Vue.use(plguins)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
